package com.zlcx.tz.live.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

/**
 * Created by li on 2017/12/15.
 */
@Data
public class ResultVO<T> {


    private Integer code;

    private String message;

    private T data;

    private Object dataExt;

    private ResultVO() {
    }

    public ResultVO(int code) {
        this.code = code;
    }


    public ResultVO(int code, String message) {
        this.code = code;
        this.message = message;
    }
    public ResultVO(int code, String message, T data) {
        this.code = code;
        this.message = message;
        this.data = data;
    }


}
